<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 82 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts82p0{position:absolute;left:106px;top:97px;}
 .ts82p1{position:absolute;left:352px;top:97px;}
 .ts82p3{position:absolute;left:672px;top:97px;}
 .ts82p7{position:absolute;left:106px;top:113px;}
 .ts82p8{position:absolute;left:706px;top:1026px;}
 .ts82p9{position:absolute;left:331px;top:1044px;}
 .ts82p13{position:absolute;left:106px;top:146px;}
 .ts82p15{position:absolute;left:106px;top:183px;}
 .ts82p17{position:absolute;left:106px;top:201px;}
 .ts82p18{position:absolute;left:106px;top:220px;}
 .ts82p19{position:absolute;left:106px;top:238px;}
 .ts82p21{position:absolute;left:106px;top:256px;}
 .ts82p23{position:absolute;left:106px;top:275px;}
 .ts82p24{position:absolute;left:106px;top:294px;}
 .ts82p26{position:absolute;left:106px;top:312px;}
 .ts82p28{position:absolute;left:106px;top:330px;}
 .ts82p30{position:absolute;left:106px;top:349px;}
 .ts82p31{position:absolute;left:106px;top:367px;}
 .ts82p33{position:absolute;left:106px;top:404px;}
 .ts82p35{position:absolute;left:106px;top:422px;}
 .ts82p36{position:absolute;left:106px;top:441px;}
 .ts82p37{position:absolute;left:106px;top:459px;}
 .ts82p39{position:absolute;left:106px;top:478px;}
 .ts82p40{position:absolute;left:106px;top:496px;}
 .ts82p41{position:absolute;left:106px;top:514px;}
 .ts82p43{position:absolute;left:106px;top:533px;}
 .ts82p44{position:absolute;left:106px;top:552px;}
 .ts82p46{position:absolute;left:106px;top:571px;}
 .ts82p47{position:absolute;left:106px;top:589px;}
 .ts82p49{position:absolute;left:106px;top:608px;}
 .ts82p50{position:absolute;left:106px;top:626px;}
 .ts82p52{position:absolute;left:106px;top:644px;}
 .ts82p53{position:absolute;left:106px;top:663px;}
 .ts82p54{position:absolute;left:106px;top:681px;}
 .ts82p56{position:absolute;left:106px;top:700px;}
 .ts82p57{position:absolute;left:106px;top:718px;}
 .ts82p58{position:absolute;left:106px;top:736px;}
 .ts82p60{position:absolute;left:106px;top:755px;}
 .ts82p61{position:absolute;left:106px;top:773px;}
 .ts82p62{position:absolute;left:106px;top:792px;}
 .ts82p65{position:absolute;left:106px;top:810px;}
 .ts82p66{position:absolute;left:106px;top:829px;}
 .ts82p68{position:absolute;left:106px;top:847px;}
 .ts82p70{position:absolute;left:106px;top:866px;}
 .ts82p72{position:absolute;left:106px;top:884px;}
 .ts82p73{position:absolute;left:106px;top:902px;}
 .ts82p74{position:absolute;left:106px;top:921px;}
 .ts82p76{position:absolute;left:106px;top:939px;}
 .ts82p77{position:absolute;left:106px;top:958px;}

 /* Font Styles */
 .ft0p82{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p82{font-weight:normal;}
 .ft2p82{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p82{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p82{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p82{font-style:normal;font-weight:bold;font-size:21px;font-family:arial,sans-serif;color:#808080;}
 .ft6p82{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft7p82{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground82{position:absolute;left:97px;top:292px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index81.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;82 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index83.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground82><img src="./background82.png" width="633" height="763" border="0" alt=""></div>
<div class=ts82p0><span class="ft0p82"> </span></div>
<div class=ts82p1><span class="ft0p82">Gravitybox Schedule Primer<span class="ft1p82"> </span></span></div>
<div class=ts82p3><span class="ft0p82">Page 80&nbsp; </span></div>
<div class=ts82p7><span class="ft2p82"> </span></div>
<div class=ts82p8><span class="ft3p82"> </span></div>
<div class=ts82p9><span class="ft4p82">1998&#45;2004 Gravitybox Software LLC<span class="ft3p82"> </span></span></div>
<div class=ts82p13><span class="ft5p82">ShowTime </span></div>
<div class=ts82p15><span class="ft6p82">This is the complement function of the IsTimeVisible method. This method may be used </span></div>
<div class=ts82p17><span class="ft6p82">in the same fashion as the ShowDay and ShowRoom methods. Given a valid time, the </span></div>
<div class=ts82p18><span class="ft6p82">method will bring the time into the view port. It may not necessarily be the time </span></div>
<div class=ts82p19><span class="ft6p82">displayed at the top of the screen. The displayed top time will depend on the length of </span></div>
<div class=ts82p21><span class="ft6p82">the total schedule and other factors. </span></div>
<div class=ts82p23><span class="ft6p82"> </span></div>
<div class=ts82p24><span class="ft7p82">If Not Schedule1.IsTimeVisible(#12:00:00 PM#) Then </span></div>
<div class=ts82p26><span class="ft7p82">&nbsp; Call Schedule1.ShowTime(#12:00:00 PM#) </span></div>
<div class=ts82p28><span class="ft7p82">End If<span class="ft6p82"> </span></span></div>
<div class=ts82p30><span class="ft6p82"> </span></div>
<div class=ts82p31><span class="ft5p82">ShowItem </span></div>
<div class=ts82p33><span class="ft6p82">Another useful method that allows for the display of particular sections of a schedule is </span></div>
<div class=ts82p35><span class="ft6p82">the ShowItem method. It is perhaps the most useful. If the user has search capability, </span></div>
<div class=ts82p36><span class="ft6p82">he will want to display the results of his search. This method is called to make a </span></div>
<div class=ts82p37><span class="ft6p82">particular appointment visible. On large schedules, there will be many appointments, </span></div>
<div class=ts82p39><span class="ft6p82">most of which will probably not be in the view port window. If the user needs to see a </span></div>
<div class=ts82p40><span class="ft6p82">particular appointment, the view port may be scrolled to include the specified </span></div>
<div class=ts82p41><span class="ft6p82">appointment. </span></div>
<div class=ts82p43><span class="ft6p82"> </span></div>
<div class=ts82p44><span class="ft7p82">Call Schedule1.ShowItem(32)<span class="ft6p82"> </span></span></div>
<div class=ts82p46><span class="ft6p82"> </span></div>
<div class=ts82p47><span class="ft6p82">This code will bring ScheduleItem 32 in the ScheduleItems collection into the view port. </span></div>
<div class=ts82p49><span class="ft6p82">If at least 32 appointments do not exist, in the collection, this method will perform no </span></div>
<div class=ts82p50><span class="ft6p82">action. </span></div>
<div class=ts82p52><span class="ft6p82"> </span></div>
<div class=ts82p53><span class="ft6p82">This method may be used to define search capability in the following way. There exist </span></div>
<div class=ts82p54><span class="ft6p82">many appointments on the schedule. Each appointment has the client&#146;s (patient&#146;s, etc) </span></div>
<div class=ts82p56><span class="ft6p82">name displayed on it. You may build a screen may be built that loops through the </span></div>
<div class=ts82p57><span class="ft6p82">ScheduleItems collection and displays a list of the patient names from every </span></div>
<div class=ts82p58><span class="ft6p82">appointment. This will be a visual cue to the user of what each appointment represents. </span></div>
<div class=ts82p60><span class="ft6p82">When the user indicates that he wants to edit (view, etc) the item in the X position, this </span></div>
<div class=ts82p61><span class="ft6p82">method may be called with the ScheduleItems&#146; index X as a parameter. This will ensure </span></div>
<div class=ts82p62><span class="ft6p82">that the specified appointment is in the view port of the schedule. </span></div>
<div class=ts82p65><span class="ft6p82"> </span></div>
<div class=ts82p66><span class="ft7p82">Private Sub List1_DblClick() </span></div>
<div class=ts82p68><span class="ft7p82">&nbsp; Call Schedule1.ShowItem(List1.ListIndex + 1) </span></div>
<div class=ts82p70><span class="ft7p82">End Sub<span class="ft6p82"> </span></span></div>
<div class=ts82p72><span class="ft6p82"> </span></div>
<div class=ts82p73><span class="ft6p82">These methods may be used in conjunction with one another to check the visibility of </span></div>
<div class=ts82p74><span class="ft6p82">any place on a schedule. To gain faster performance, the AutoRedraw property of the </span></div>
<div class=ts82p76><span class="ft6p82">schedule may be set to false for multiple method calls that affect screen refreshing. The </span></div>
<div class=ts82p77><span class="ft6p82">property must be set back to true after the methods calls, to ensure that the screen is </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
